package com.example.db.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 社保卡表
 *
 * @author wangjf
 * @date 2020-03-27 15:49:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("card")
public class Card extends Model<Card> {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 证件号码
     */
    @ApiModelProperty(value = "证件号码")
    private String cardNo;
    /**
     * 乡镇
     */
    @ApiModelProperty(value = "乡镇")
    private String villages;
    /**
     * 社区
     */
    @ApiModelProperty(value = "社区")
    private String community;
    /**
     * 领取地址
     */
    @ApiModelProperty(value = "领取地址")
    private String receiveAddress;
    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码")
    private String phone;
    /**
     * 箱号
     */
    @ApiModelProperty(value = "箱号")
    private String boxNo;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 最后变更时间
     */
    @ApiModelProperty(value = "最后变更时间")
    private LocalDateTime updateTime;

}
